projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea1295c
)
x11: Fix a trap mixup
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 29 Aug 2016 19:49:24 +0000
(15:49 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 29 Aug 2016 19:51:05 +0000
(15:51 -0400)
There was a return between a push/pop of an error trap, and
this managed to trigger the 'unpopped trap' warning in the
displayclose test now. Fix this.
gdk/x11/gdkdevicemanager-xi2.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkdevicemanager-xi2.c
b/gdk/x11/gdkdevicemanager-xi2.c
index 2fd413c08202f3d91552f905a93564ee0d879d44..078a839bcfdbd23d6499344ea39cd9a48d0f7c1c 100644
(file)
--- a/
gdk/x11/gdkdevicemanager-xi2.c
+++ b/
gdk/x11/gdkdevicemanager-xi2.c
@@
-353,7
+353,10
@@
get_device_ids (GdkDisplay *display,
prop = XInternAtom (GDK_DISPLAY_XDISPLAY (display), "Device Product ID", True);
if (prop == None)
- return 0;
+ {
+ gdk_x11_display_error_trap_pop_ignored (display);
+ return 0;
+ }
rc = XIGetProperty (GDK_DISPLAY_XDISPLAY (display),
info->deviceid, prop,